# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-mautrix
pkgver=0.6.1
pkgrel=0
pkgdesc="A Python 3 asyncio Matrix framework"
url="https://github.com/tulir/mautrix-python"
arch="noarch"
license="MPL-2.0"
depends="python3 py3-aiohttp py3-attrs py3-lxml py3-sqlalchemy py3-ruamel.yaml py3-commonmark"
makedepends="py3-setuptools"
source="https://github.com/tulir/mautrix-python/archive/v$pkgver/mautrix-python-v$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/mautrix-python-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2e02e44e0653c6fe81f75a8dfbc8330bafe13b5b7d8c8c1fdbda3e2e04846bc56f26896d5a2545e8d12fa16aaab3bb2d1f12a966b78be83f3adbda5af7429377  mautrix-python-v0.6.1.tar.gz"
